const Router = require('koa-router');
const feedbackController = require('../controllers/feedbackController');
const authMiddleware = require('../middlewares/auth');

const router = new Router({ prefix: '/api/feedback' });

router.post('/submit', authMiddleware, feedbackController.submit);

module.exports = router;